<tpl var layoutBody={ />
<div data-identity="base:upload:image" data-table="base_upload_image">
	<div class="layui-breadcrumb">
		<a href="/manage/index.jspx">首页</a>
		<a href="/manage/base/upload/image/index.jspx">图片管理</a>
		<a href="javascript:;">
			<cite>查看</cite>
		</a>
	</div>
	<hr>
	<fieldset class="layui-elem-field">
		<legend>查看 图片管理</legend>
		<div class="layui-field-box">
			<div class="layui-form">
				<div class="layui-form-item" data-type="varchar" data-isnull="YES" data-name="name">
					<label class="layui-form-label">图片名：</label>
					<div class="layui-form-mid layui-word-aux">${record.name!}</div>
				</div>
				<div class="layui-form-item" data-type="varchar" data-isnull="NO" data-name="code">
					<label class="layui-form-label">图片编码：</label>
					<div class="layui-form-mid layui-word-aux">${record.code!}</div>
				</div>
				<div class="layui-form-item" data-type="varchar" data-isnull="YES" data-name="mime_type">
					<label class="layui-form-label">图片格式：</label>
					<div class="layui-form-mid layui-word-aux">${record.mimeType!}</div>
				</div>
				<div class="layui-form-item" data-type="bigint" data-isnull="YES" data-name="size">
					<label class="layui-form-label">图片大小：</label>
					<div class="layui-form-mid layui-word-aux">${record.length!}</div>
				</div>
				<div class="layui-form-item" data-type="varchar" data-isnull="NO" data-name="path">
					<label class="layui-form-label">图片路径：</label>
					<div class="layui-form-mid layui-word-aux">${record.path!}</div>
				</div>
				<div class="layui-form-item" data-type="datetime" data-isnull="YES" data-name="create_time">
					<label class="layui-form-label">创建时间：</label>
					<div class="layui-form-mid layui-word-aux">${record.createTime!, "yyyy-MM-dd HH:mm:ss"}</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">图片：</label>
					<div class="layui-form-mid layui-word-aux">
						<a href="${record.code!,image="src"}" target="_blank">
							<img src="${record.code!,image}" alt="${record.name!}" style="max-height: 300px; max-width: 300px;">
						</a>
					</div>
				</div>
				<hr>
				<div class="layui-form-item">
					<a class="layui-btn" href="index.jspx">返回</a>
				</div>
			</div>
		</div>
	</fieldset>
</div>
<tpl }; />

<tpl var layoutScript={ />
<script>
	layui.use(['element'], function () {});
</script>
<tpl }; />
<tpl include( "../../../tpl/layout-scroll.html",{identity: "base:upload:image",layoutBody:layoutBody,layoutScript:layoutScript}){}/>